package com.fintech.third.model.moxie.carries;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class FamilyNet implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@JsonProperty("family_num")
    private String familyNetNum;
    
    @JsonProperty("code")
    private String code;
    
    @JsonProperty("message")
    private String message;
    
    
    public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@JsonProperty("family_members")
    private List<FamilyMember> familyMembers = new ArrayList<>();

	
	@JsonProperty("items")
    private List<FamilyMember> itemsAllDate;

	
	
    public List<FamilyMember> getItems() {
		return itemsAllDate;
	}

	public void setItems(List<FamilyMember> itemsAllDate) {
		this.itemsAllDate = itemsAllDate;
	}

	public String getFamilyNetNum() {
        return familyNetNum;
    }

    public void setFamilyNetNum(String familyNetNum) {
        this.familyNetNum = familyNetNum;
    }

    public List<FamilyMember> getFamilyMembers() {
        return familyMembers;
    }

    public void setFamilyMembers(List<FamilyMember> familyMembers) {
        this.familyMembers = familyMembers;
    }

    @Override
    public String toString() {
        return "FamilyNet{" +
                "familyNetNum='" + familyNetNum + '\'' +
                ",code='" + code + '\'' +
                ",message='" + message + '\'' +
                ", familyMembers=" + familyMembers +
                '}';
    }
}
